package com.travel.service;

import java.util.Map;

import com.travel.base.BaseService;
import com.travel.bean.Ticket;
import com.travel.utils.PageHelper;

public interface TicketService extends BaseService<Ticket> {

		/**
		 * 在购票列表上显示购票数据
		 * @param map
		 * @param pageNum
		 * @param pageSize
		 * @return
		 */
		PageHelper tacketList(Map map,Integer pageNum,Integer pageSize);
		/**
		 * 按照了路线查票
		 * @param routeId
		 * @return
		 */
		Ticket getTicketByRouteId(Integer routeId);
}
